/*
 * Project: daycare-ent
 * Package: com.made2ordersoftware.daycare.domain.enums
 * File: Month
 * Created on: Oct 10, 2013
 */
/**
 * Copyright (c) 2010 Made 2 Order Software, LLC
 *
 * All rights reserved. No part of this software may be reproduced, stored in a retrieval system, or
 * transmitted in any form or by any means, without the prior written permission of Made 2 Order Software.
 *
 * You may not distribute the URL or redistribute the files to third parties. You may transfer the files onto
 * a single storage device so long as you can prove ownership of the software. You may not reverse engineer,
 * decompile, or disassemble the software or media files. You may not modify or translate the software or
 * media, or distribute copies of the software or media without the written consent of Made 2 Order Software,
 * LLC.
 */
package com.made2ordersoftware.daycare.domain.enums;

/**
 * Represents the gender of the person.
 *
 * @author David Canning <dcannin@gmail.com>
 * @version 1.0.0
 */
public enum Month {

    JAN(0, 31),
    FEB(1, 29),
    MAR(2, 31),
    APR(3, 30),
    MAY(4, 31),
    JUN(5, 30),
    JUL(6, 31),
    AUG(7, 31),
    SEP(8, 30),
    OCT(9, 31),
    NOV(10, 30),
    DEC(11, 31);

    private final int num;
    private final int days;

    private Month(int num, int days) {
        this.num = num;
        this.days = days;
    }

    public int getNum() {
        return this.num;
    }

    public int getDays() {
        return this.days;
    }
}
